package com.xishu.entity.order;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class PartCash implements Serializable {
    private static final long serialVersionUID = 1267137932972892167L;

    @ApiModelProperty(value = "多少人均分")
    private Integer persons;

    @ApiModelProperty(value = "每个人多少钱")
    private Double perCost;

    @ApiModelProperty(value = "自定义分钱")
    public Boolean customizedPay;

    @ApiModelProperty(value = "已经支付钱的人数")
    public Integer payedNumber;

    public Integer getPayedNumber() {
        return payedNumber;
    }

    public void setPayedNumber(Integer payedNumber) {
        this.payedNumber = payedNumber;
    }

    public Double getPerCost() {
        return perCost;
    }

    public void setPerCost(Double perCost) {
        this.perCost = perCost;
    }

    public Integer getPersons() {
        return persons;
    }

    public void setPersons(Integer persons) {
        this.persons = persons;
    }

    public Boolean getCustomizedPay() {
        return customizedPay;
    }

    public void setCustomizedPay(Boolean customizedPay) {
        this.customizedPay = customizedPay;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("PartCash{");
        sb.append("persons=").append(persons);
        sb.append(", perCost=").append(perCost);
        sb.append(", customizedPay=").append(customizedPay);
        sb.append(", payedNumber=").append(payedNumber);
        sb.append('}');
        return sb.toString();
    }
}
